using System;
using System.Collections.Generic;
using System.Text;

namespace MetarCommonSupport
{
    public static class ChainException
    {
        public static Exception Ex(Exception _ex)
        {
            if (_ex is BaseException)
                return _ex;
            else
                return new BaseException(null, _ex.Message, _ex);

        }
    }
}
